package com.xwj.rabbitmq.Producter;

import com.xwj.data.StaticData;
import org.springframework.stereotype.Service;

@Service
public class AddOrderSender extends Sender {

    @Override
    public void send(String message) {
        rabbitTemplate.convertAndSend(StaticData.AMQP_MQ_ORDER_EXCHANGE, StaticData.AMQP_MQ_QUEUE_TOPIC_ADD_ORDER, message);
    }
}
